package com.carrot.newsgallery.utils;

import lombok.Data;

@Data
public class MyLoginException extends Exception{

    public enum errorCode{
        NOT_LOGIN,
        NO_TOKEN_FOUND,
        INVALID_TOKEN
    }

    private errorCode status;

    public MyLoginException(errorCode code){
        this.status = code;
    }
}
